package com.charles.seckillsystem.vo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Charles-H
 * 
 * 订单列表
 */
public class OrderVo implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    private String orderId;
    
    private String goodName;
    
    private BigDecimal seckillPrice;
    
    private String status;
    
    private Date create_time;
    
    private Date pay_time;

    public OrderVo() {
    }

    public OrderVo(String orderId, String goodName, BigDecimal seckillPrice, String status, Date create_time, Date pay_time) {
        this.orderId = orderId;
        this.goodName = goodName;
        this.seckillPrice = seckillPrice;
        this.status = status;
        this.create_time = create_time;
        this.pay_time = pay_time;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    public BigDecimal getSeckillPrice() {
        return seckillPrice;
    }

    public void setSeckillPrice(BigDecimal seckillPrice) {
        this.seckillPrice = seckillPrice;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getPay_time() {
        return pay_time;
    }

    public void setPay_time(Date pay_time) {
        this.pay_time = pay_time;
    }

    @Override
    public String toString() {
        return "OrderVo{" +
                "orderId='" + orderId + '\'' +
                ", goodName='" + goodName + '\'' +
                ", seckillPrice=" + seckillPrice +
                ", status='" + status + '\'' +
                ", create_time=" + create_time +
                ", pay_time=" + pay_time +
                '}';
    }
}
